core: Only do devino scan on commit (speeds up pull)
authorColin Walters <walters@verbum.org>
Fri, 5 Oct 2012 21:12:39 +0000 (17:12 -0400)
committerColin Walters <walters@verbum.org>
Fri, 5 Oct 2012 21:12:39 +0000 (17:12 -0400)
commit52a0b7bdb19d7893c100acb8d378cef41f80990f
tree175ac7cf721c9345d6cc88b9cfd67612d232fb8c
parentefe27f1b05eb9aa4a3760951885c2eca78d6516f
core: Only do devino scan on commit (speeds up pull)

When fetching data remotely, there's no point to the devino scan
because we're not going to be committing local files.

Only do it for "commit".
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-pull-local.c